package com.ruoyi.machine.domain.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.ruoyi.machine.domain.EExpressMachines;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class EExpressMachinesVo extends EExpressMachines {
    private Long id;
    /*ID查询*/
    private Integer ID;
    /*分页信息*/
    private Integer pageNum;
    private Integer pageSize;
    private Integer offset;
    /*时间区间*/
    private Date installStartDate;
    private Date installEndDate;
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime openStartDate;
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime openEndDate;
    /*版本号*/
    private String systemVersion;
    /*模糊查询*/
    private String searchObj;
    /*箱格使用数量*/
    private Integer useCount;
}
